/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BackEnd;

/**
 *
 * @author ign
 */
public class Categoria {

    private int id;
    private String name;
    private String code;

    public Categoria(int id, String name, String code){
        this.id=id;
        this.name=name;
        this.code=code;
        }

    public String toString(){
        return name;
    }

    public int getId(){
        return id;
    }

    public String getName(){
        return name;
    }
    
}
